
public class Coordenada {
	
	private int x;
	private int y;

	public Coordenada(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public int getX() { return x; }
	public int getY() { return y; }
	
	public boolean esIgual(Coordenada c){
		return x == c.x && y == c.y;
	}

	public void moverEste() {
		this.x +=1;
	}
}
